package StructuralModel.AdapterPattern;

/**
 * @author 王蕾 [wanglei_dev@cyou-inc.com]
 * @date 2017-12-11 11:58:00
 */
public class ForwardPlayerTarget extends PlayerTarget{

    public ForwardPlayerTarget(String name) {
        super(name);
    }

    @Override
    public void Attack() {
        System.out.println("前锋"+name+"：进攻");
    }

    @Override
    public void Defense() {
        System.out.println("前锋"+name+"：防守");
    }
}


